package com.app.art.utils.jwt;

import lombok.Getter;
import lombok.ToString;

import java.util.Date;
import java.util.Map;

@Getter
@ToString
public class JwtClaims {
    private final String username;
    private final Date issuedAt;
    private final Date expiration;
    private final Map<String, Object> additionalClaims;

    public JwtClaims(String username, Date issuedAt, Date expiration, Map<String, Object> additionalClaims) {
        this.username = username;
        this.issuedAt = issuedAt;
        this.expiration = expiration;
        this.additionalClaims = additionalClaims;
    }
}
